package com.xhorse.lockplatform.comm.enums;

/**
 * 日志统计模块
 *
 * @author Think
 */
public enum LogModuleEnum {
    /**
     * 日志模块
     */
    USER_REGISTER(1, "用户注册", "user/register"),
    USER_LOGIN(2, "用户登录", "user/login"),
    USER_MODIFY(3, "修改密码", "user/modifyPwd"),
    AD_MESSAGE(4, "横幅广告资讯", "ad/message"),
    APP_CONFIG(5, "App配置", "app/config"),
    USER_SEND_SMS(6, "用户发送验证码", "user/sendSms"),
    USER_FORGET_PWD(7, "忘记密码", "user/forgetPwd"),
    USER_LOGIN_OUT(8, "用户登出", "user/loginOut"),
    USER_TOKEN_CHECK(9, "用户token检查", "user/checkToken"),
    USER_INFO_3s(10, "保存用户信息", "3s/userInfo"),
    USER_PERSONAL_INFO(11, "保存用户基本信息", "user/personalInfo"),
    USER_WORK_INFO(12, "保存用户工作信息", "user/workInfo"),
    USER_CONTACT_INFO(13, "保存用户联系人信息", "user/contact"),
    USER_AUTH_INFO(14, "用户授权", "user/auth"),
    USER_CARD_INFO(15, "用户四要素", "user/cardInfo"),
    GET_USER_ASSETS(16, "风控获取用户资料", "/risk?method=get.userAssets"),
    POST_AUDIT_RESULT(17, "风控审核结果反馈", "/risk?method=post.auditResult"),
    LOAN_LIST_INFO(18, "用户确认借款", "/manage/loan/list"),
    PAYMENT_REQUEST_INFO(19, "用户确认借款", "user/paymentRequest");

    private int code;
    private String title;
    private String link;

    LogModuleEnum(int id, String title, String link) {
        this.code = id;
        this.title = title;
        this.link = link;
    }

    public int getCode() {
        return code;
    }

    public String getLink() {
        return link;
    }

    public String getTitle() {
        return title;
    }
}